package com.xmhmyh.generalframework.common.enums;

public enum YesOrNo implements BaseEnums{

    YES(1, "是"), NO(0, "否");

    private int value;

    private String label;

    private YesOrNo(int value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
